--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Commit ae4dfa1d8a4aadfd5808ddd01b6244b4280c6fc6
Parents : 8661711
Author : Sudo-Ivan <ivan@quad4.io>
Signature : Signature validation error
Date : 2026-03-06T15:49:32-06:00
Add localization for stranger protection features
- Added new strings for managing attachments and messages from unknown peers in German, English, Italian, and Russian.
- Included descriptions and options for blocking attachments and messages from strangers.
- Updated user interface text to inform users about the handling of messages from non-contacts.
Changes
4 files changed, 52 insertions(+), 4 deletions(-)
Diff
diff --git a/meshchatx/src/frontend/locales/de.json b/meshchatx/src/frontend/locales/de.json
index 8bc6af14..33682671 100644
--- a/meshchatx/src/frontend/locales/de.json
+++ b/meshchatx/src/frontend/locales/de.json
@@ -163,6 +163,12 @@
"page_archiver": "Seitenarchivierer",
"smart_crawler": "Smart Crawler",
"authentication": "Authentifizierung",
+ "stranger_protection": "Fremdenschutz",
+ "stranger_protection_description": "Steuern Sie, wie die App Nachrichten und Anhänge von unbekannten Peers behandelt.",
+ "block_stranger_attachments": "Anhänge von Fremden blockieren",
+ "block_stranger_attachments_description": "Datei-, Bild- und Audioanhänge von Peers, die nicht in Ihren Kontakten sind, automatisch entfernen. Textnachrichten werden weiterhin zugestellt.",
+ "block_all_from_strangers": "Alles von Fremden blockieren",
+ "block_all_from_strangers_description": "Alle Nachrichten, Anhänge und Anrufe von Peers, die nicht in Ihren Kontakten sind, stillschweigend verwerfen. Nichts wird zugestellt oder gespeichert.",
"banishment": "Verbannung",
"banishment_description": "Passen Sie den visuellen Effekt an, der für blockierte Peers und Knoten angezeigt wird.",
"banished_effect_enabled": "Verbannungseffekt aktivieren",
@@ -377,7 +383,9 @@
"camera_not_supported": "Kamera-QR-Scan wird in diesem Browser nicht unterstützt.",
"camera_failed": "Kamera konnte nicht gestartet werden.",
"qr_scanned": "QR-Code gescannt",
- "importing_lxma": "LXMA-Kontakt wird importiert..."
+ "importing_lxma": "LXMA-Kontakt wird importiert...",
+ "send_message": "Nachricht senden",
+ "call_contact": "Anrufen"
},
"about": {
"title": "Über",
@@ -625,6 +633,10 @@
"stamp_cost": "Stempelkosten {cost}",
"pop_out_chat": "Chat auslagern",
"custom_display_name": "Benutzerdefinierter Anzeigename",
+ "stranger_banner_text": "Dieser Peer ist nicht in Ihren Kontakten. Anhänge von Fremden werden blockiert.",
+ "add_to_contacts": "Zu Kontakten hinzufügen",
+ "dismiss": "Schließen",
+ "attachments_stripped_notice": "Anhänge von diesem unbekannten Absender wurden blockiert.",
"send_placeholder": "Schreibe eine Nachricht...",
"no_messages_in_conversation": "Noch keine Nachrichten in diesem Gespräch.",
"say_hello": "Sag Hallo!",
diff --git a/meshchatx/src/frontend/locales/en.json b/meshchatx/src/frontend/locales/en.json
index ec888ac9..7038f4bb 100644
--- a/meshchatx/src/frontend/locales/en.json
+++ b/meshchatx/src/frontend/locales/en.json
@@ -166,6 +166,12 @@
"page_archiver": "Page Archiver",
"smart_crawler": "Smart Crawler",
"authentication": "Authentication",
+ "stranger_protection": "Stranger Protection",
+ "stranger_protection_description": "Control how the app handles messages and attachments from unknown peers.",
+ "block_stranger_attachments": "Block Attachments from Strangers",
+ "block_stranger_attachments_description": "Automatically strip file, image, and audio attachments from peers who are not in your contacts. Text messages are still delivered.",
+ "block_all_from_strangers": "Block Everything from Strangers",
+ "block_all_from_strangers_description": "Silently drop all messages, attachments, and calls from peers who are not in your contacts. Nothing is delivered or stored.",
"banishment": "Banishment",
"banishment_description": "Customize the visual effect shown for banished peers and nodes.",
"banished_effect_enabled": "Enable Banishment Effect",
@@ -589,6 +595,10 @@
"stamp_cost": "Stamp Cost {cost}",
"pop_out_chat": "Pop out chat",
"custom_display_name": "Custom Display Name",
+ "stranger_banner_text": "This peer is not in your contacts. Attachments from strangers are blocked.",
+ "add_to_contacts": "Add to Contacts",
+ "dismiss": "Dismiss",
+ "attachments_stripped_notice": "Attachments were blocked from this unknown sender.",
"send_placeholder": "Type a message...",
"no_messages_in_conversation": "No messages in this conversation yet.",
"say_hello": "Say hello!",
@@ -1439,7 +1449,9 @@
"camera_not_supported": "Camera QR scanning is not supported in this browser.",
"camera_failed": "Failed to start camera scanner.",
"qr_scanned": "QR code scanned",
- "importing_lxma": "Importing LXMA contact..."
+ "importing_lxma": "Importing LXMA contact...",
+ "send_message": "Send Message",
+ "call_contact": "Call"
},
"tutorial": {
"title": "Getting Started",
diff --git a/meshchatx/src/frontend/locales/it.json b/meshchatx/src/frontend/locales/it.json
index df0a6b6d..fe5b4289 100644
--- a/meshchatx/src/frontend/locales/it.json
+++ b/meshchatx/src/frontend/locales/it.json
@@ -166,6 +166,12 @@
"page_archiver": "Archiviatore Pagine",
"smart_crawler": "Smart Crawler",
"authentication": "Autenticazione",
+ "stranger_protection": "Protezione Sconosciuti",
+ "stranger_protection_description": "Controlla come l'app gestisce messaggi e allegati da peer sconosciuti.",
+ "block_stranger_attachments": "Blocca allegati da sconosciuti",
+ "block_stranger_attachments_description": "Rimuovi automaticamente file, immagini e allegati audio da peer non presenti nei tuoi contatti. I messaggi di testo vengono comunque consegnati.",
+ "block_all_from_strangers": "Blocca tutto dagli sconosciuti",
+ "block_all_from_strangers_description": "Scarta silenziosamente tutti i messaggi, allegati e chiamate da peer non presenti nei tuoi contatti. Nulla viene consegnato o salvato.",
"banishment": "Esilio",
"banishment_description": "Personalizza l'effetto visivo mostrato per i peer e i nodi esiliati.",
"banished_effect_enabled": "Abilita Effetto Esilio",
@@ -377,7 +383,9 @@
"camera_not_supported": "La scansione QR con fotocamera non è supportata in questo browser.",
"camera_failed": "Impossibile avviare la fotocamera.",
"qr_scanned": "Codice QR scansionato",
- "importing_lxma": "Importazione contatto LXMA..."
+ "importing_lxma": "Importazione contatto LXMA...",
+ "send_message": "Invia messaggio",
+ "call_contact": "Chiama"
},
"about": {
"title": "Informazioni",
@@ -625,6 +633,10 @@
"stamp_cost": "Costo Francobollo {cost}",
"pop_out_chat": "Estrai chat",
"custom_display_name": "Nome Visualizzato Personalizzato",
+ "stranger_banner_text": "Questo peer non è nei tuoi contatti. Gli allegati da sconosciuti sono bloccati.",
+ "add_to_contacts": "Aggiungi ai contatti",
+ "dismiss": "Ignora",
+ "attachments_stripped_notice": "Gli allegati da questo mittente sconosciuto sono stati bloccati.",
"send_placeholder": "Scrivi un messaggio...",
"no_messages_in_conversation": "Ancora nessun messaggio in questa conversazione.",
"say_hello": "Di' ciao!",
diff --git a/meshchatx/src/frontend/locales/ru.json b/meshchatx/src/frontend/locales/ru.json
index df569df1..d9f8f5e6 100644
--- a/meshchatx/src/frontend/locales/ru.json
+++ b/meshchatx/src/frontend/locales/ru.json
@@ -163,6 +163,12 @@
"page_archiver": "Архиватор страниц",
"smart_crawler": "Умный краулер",
"authentication": "Аутентификация",
+ "stranger_protection": "Защита от незнакомцев",
+ "stranger_protection_description": "Управление обработкой сообщений и вложений от неизвестных узлов.",
+ "block_stranger_attachments": "Блокировать вложения от незнакомцев",
+ "block_stranger_attachments_description": "Автоматически удалять файлы, изображения и аудиовложения от узлов, которых нет в ваших контактах. Текстовые сообщения доставляются.",
+ "block_all_from_strangers": "Блокировать всё от незнакомцев",
+ "block_all_from_strangers_description": "Молча отклонять все сообщения, вложения и звонки от узлов, которых нет в ваших контактах. Ничего не доставляется и не сохраняется.",
"banishment": "Изгнание",
"banishment_description": "Настройте визуальный эффект для заблокированных узлов и собеседников.",
"banished_effect_enabled": "Включить эффект изгнания",
@@ -377,7 +383,9 @@
"camera_not_supported": "Сканирование QR камерой не поддерживается в этом браузере.",
"camera_failed": "Не удалось запустить камеру.",
"qr_scanned": "QR-код отсканирован",
- "importing_lxma": "Импорт контакта LXMA..."
+ "importing_lxma": "Импорт контакта LXMA...",
+ "send_message": "Написать сообщение",
+ "call_contact": "Позвонить"
},
"about": {
"title": "О программе",
@@ -625,6 +633,10 @@
"stamp_cost": "Стоимость штампа {cost}",
"pop_out_chat": "Открыть в отдельном окне",
"custom_display_name": "Свое имя для контакта",
+ "stranger_banner_text": "Этот узел не в ваших контактах. Вложения от незнакомцев заблокированы.",
+ "add_to_contacts": "Добавить в контакты",
+ "dismiss": "Скрыть",
+ "attachments_stripped_notice": "Вложения от этого неизвестного отправителя были заблокированы.",
"send_placeholder": "Введите сообщение...",
"no_messages_in_conversation": "В этом чате пока нет сообщений.",
"say_hello": "Скажите привет!",
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────